{foreach $data as $val}
	<dl action-type="feed_list_item" mid="{$val.id}" class="feed_list ">
		<dt class="face"> <a title="{$val.user.screen_name}" href="weibo/{$val.user.id}.html"><img width="50" height="50" src="{$val.user.profile_image_url}" title="{$val.user.screen_name}" usercard="id=1740577714"></a> </dt>
		<dd class="content">
			<p node-type="feed_list_content"> <a usercard="id=1740577714" href="weibo/{$val.user.id}.html" title="{$val.user.screen_name}" nick-name="{$val.user.name}"> {$val.user.screen_name}</a>{if $val.user.verified}<a href="http://weibo.com/verify" target="_blank"><img class="approve_co" alt="新浪机构认证" title="新浪机构认证" src="http://img.t.sinajs.cn/t4/style/images/common/transparent.gif"></a>{/if}：<em>{$val.text}</em></p>
			{if isset($val.thumbnail_pic)}
			<ul node-type="feed_list_media_prev" class="piclist">
				<li> <img action-type="feed_list_media_img" src="{$val.thumbnail_pic}" class="bigcursor" /><img class="loading_gif" src="http://img.t.sinajs.cn/t4/style/images/common/loading.gif" style="left: 39.5px; top: 52px;"> </li>
			</ul>
			{/if}
			{if isset($val.retweeted_status)}
			<dl class="comment">
       <dd class="arrow"><span>◆</span></dd>
       <dt node-type="feed_list_forwardContent"> <a usercard="id=2348963387" title="{$val.retweeted_status.user.screen_name}" href="weibo/{$val.retweeted_status.user.id}.html" nick-name="{$val.retweeted_status.user.screen_name}"> @{$val.retweeted_status.user.screen_name}</a>{if $val.retweeted_status.user.verified}<a href="http://weibo.com/verify" target="_blank"><img class="approve_co" alt="新浪机构认证" title="新浪机构认证" src="http://img.t.sinajs.cn/t4/style/images/common/transparent.gif"></a>{/if}：<em>{$val.retweeted_status.text}</em> </dt>
       <dd node-type="feed_list_media_prev">
         {if isset($val.retweeted_status.thumbnail_pic)}
         <ul class="piclist">
           <li> <img action-type="feed_list_media_img" src="{$val.retweeted_status.thumbnail_pic}" class="bigcursor" /><img class="loading_gif" src="http://img.t.sinajs.cn/t4/style/images/common/loading.gif" style="left: 39.5px; top: 52px;"> </li>
         </ul>
         {/if}
       </dd>
       <dd node-type="feed_list_media_disp" style="display: none;" class="expand"></dd>
       <dd class="info W_linkb W_textb">
			<span><a href="show.html?id={$val.retweeted_status.id}">
			转发{if $val.retweeted_status.reposts_count}({$val.retweeted_status.reposts_count}){/if}
			</a>
			<i class="W_vline">|</i>
			<a href="show.html?id={$val.retweeted_status.id}" >
				评论{if $val.retweeted_status.comments_count}({$val.retweeted_status.comments_count}){/if}
			</a></span>
			<a href="show.html?id={$val.retweeted_status.id}" class="date realTime">{strtotime($val.retweeted_status.created_at)}</a> 
			来自{$val.retweeted_status.source}
		</dd>
     </dl>
     {else}
     	<dl node-type="feed_list_media_disp" style="display: none;" class="comment"></dl>
			{/if}
			<p class="info W_linkb W_textb"> <span> <a action-data="{$val.id}" action-type="feed_list_forward" href="javascript:void(0);">转发{if $val.reposts_count}({$val.reposts_count}){/if}</a><i class="W_vline">|</i> <a action-type="feed_list_comment" action-data="{$val.id}" href="javascript:void(0);">评论{if $val.comments_count}({$val.comments_count}){/if}</a> </span> <a node-type="feed_list_item_date" class="date realTime"  href="show.html?id={$val.mid}">{strtotime($val.created_at)}</a> 来自{$val.source} </p>
			<div style="display:none;" class="repeat" node-type="feed_list_repeat"></div>
		</dd>
		<dd class="clear"></dd>
	</dl>
{/foreach}
<script type="text/javascript" charset="utf-8">
  $('a.realTime').each(function(){
    $(this).html(realTime.outPut($(this).html()));
    $(this).removeClass('realTime');
  });

  $('a[action-type=feed_list_forward]').click(function(){
    var id = $(this).attr('action-data');
    var text = $(this).parents('dl').find('p[node-type=feed_list_content] em').html();
    var user_name = $(this).parents('dl').find('p[node-type=feed_list_content] > a').html();

    retweet_box(text, id, user_name);

    return false;
  });

  $('a[action-type=feed_list_comment]').click(function(){
      var id = $(this).attr('action-data');
      var rpl_div = $(this).parents('dl').find('div.repeat');
    if (rpl_div.is(':visible')) {
      rpl_div.empty().hide();
    } else {
	  $('.repeat').empty().hide();
      rpl_div.html('<div class="W_loading" node-type="lazyload"><span>正在加载中，请稍候...</span></div>').show().load(SITE_URL+'/ajax/reply.html?id='+id);
      //rpl_div
      return false;
    }

  });

  $('.bigcursor').load(function(){
    $(this).next().hide();
  });
  
  // .click(function(){
  //   $(this).rotate('left');
  // });
</script>
